package com.xxw.xxw.service;

import com.xxw.xxw.dao.HelloMapper;
import com.xxw.xxw.pojo.UserPo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class HelloService {

    @Resource
    HelloMapper helloMapper;

    public UserPo getUserPoById() {
        UserPo userPo = new UserPo();
        userPo.setId(1);
        return helloMapper.getUserPoById(userPo);
    }
}
